﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace com.sharepointutils.application
{
    public class SharePointConnection
    {
        public System.Net.NetworkCredential Credentials { get; set; }
        public String SiteName { get; set; }
        public String URL { get; set; }
        public String List { get; set; }
        public String Label { get { return URL + " > " + List; } }

        public SharePointConnection(String siteName, String url, System.Net.NetworkCredential cred)
        {
            SiteName = siteName;
            URL = url;
            Credentials = cred;
        }

        public SharePointConnection()
        {

        }
    }
}
